﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Master/Default.master" AutoEventWireup="true" CodeBehind="EmptyOrderPending.aspx.cs" Inherits="Runda.EShop.SaaS.OrderManage.EmptyOrderPending" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register Src="~/UserControl/LeftMenu.ascx" TagPrefix="uc" TagName="LeftMenu" %>
<asp:Content ID="Content1" ContentPlaceHolderID="cphHeader" runat="server">
    <script src="../Content/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="cphLeft" runat="server">
    <uc:LeftMenu runat="server" ID="ucLeftMenu"  TopMenuCode="Func3000"/>
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="cphMain" runat="server">
 <div class="i_tablebt_xian" style="margin: 10px 0px 0px 0px; width: 100%;">
        <span class="l"><img src="<%=ResolveUrl("~/images/ico/down_16x16.gif")%>" align="absmiddle" />等处理无库存订单</span>
    </div>
    <table cellspacing="0" cellpadding="0" class="i_center_table0zs clear" style="width:100%;height:30px;">
        <tr>
        <td style=" width:10%">订单时间</td>
            <td>
                <asp:TextBox ID="txtOrderDateBegin" runat="server" CssClass="Wdate"></asp:TextBox>~<asp:TextBox ID="txtOrderDateEnd" runat="server" CssClass="Wdate"></asp:TextBox></td>
        <td>补货状态</td> 
        <td>
            <asp:DropDownList ID="ddlOrderEmptyStatus" runat="server">
            </asp:DropDownList>
        </td>
        </tr>
        <tr>
        <td style=" width:10%">产品名称</td>
            <td>
                <asp:TextBox ID="txtProductName" runat="server"></asp:TextBox>
            </td>
        <td>产品大类</td> 
        <td>
                <asp:DropDownList ID="ddlCate" runat="server">
                </asp:DropDownList>
            </td>
        </tr>
        <tr>
            <td colspan="4" align="right">
                    <div class="banner l"><asp:LinkButton ID="lnkbtnQuery" runat="server">查询</asp:LinkButton></div>
                    <div class="banner l"><asp:LinkButton ID="lnkbtnExport" runat="server">导出</asp:LinkButton></div>
            </td>
        </tr>
    </table>
    <div class="i_tablebt_xian" style="margin: 10px 0px 0px 0px; width: 100%;">
        <span class="l"><img src="<%=ResolveUrl("~/images/ico/down_16x16.gif")%>" align="absmiddle" />订单列表</span>
    </div>
    <div class="clear"></div>
      <asp:GridView ID="gvOrderList" runat="server" AutoGenerateColumns="False">
        <Columns>
            <asp:TemplateField HeaderText="操作">
                <ItemTemplate>
                    <asp:HyperLink ID="lnkEdit" runat="server" Target="_blank" NavigateUrl='<%# "EmptyOrderPendingGen.aspx?OrderID="+Eval("OrderID") %>'>生成</asp:HyperLink>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="订单号">
                <ItemTemplate>
                    <asp:HyperLink ID="lnkView" Target="_blank" runat="server" NavigateUrl='<%# "OrderView.aspx?OrderID="+Eval("OrderID") %>'><%# Eval("OrderCode") %></asp:HyperLink>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:BoundField DataField="OrderDate" HeaderText="订单时间" DataFormatString="{0:yyyy-MM-dd}"/>
            <asp:TemplateField HeaderText="订单类型">
                <ItemTemplate>
                    <asp:Literal ID="ltlType" runat="server"></asp:Literal>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="状态">
                <ItemTemplate>
                    <asp:Label ID="lblStatus" runat="server"></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
            <asp:TemplateField HeaderText="补货状态">
                <ItemTemplate>
                    <asp:Label ID="lblEmptyStatus" runat="server"></asp:Label>
                </ItemTemplate>
            </asp:TemplateField>
        </Columns>
    </asp:GridView>
    <webdiyer:AspNetPager ID="AspNetPager1" runat="server" CssClass="paginator" CurrentPageButtonClass="cpb" 
    CustomInfoHTML="第%CurrentPageIndex%页，共%PageCount%页，每页%PageSize%条" 
    ShowCustomInfoSection="Left" CustomInfoSectionWidth="180px" 
    NumericButtonCount="10"></webdiyer:AspNetPager>
</asp:Content>
